import { request } from '@/utils/request'
import qs from 'qs'

export const DHT1 = () => {
  return request('/user', 'get')
}
export const DCD = () => {
  return request('/dongchedi1', 'get')
}
export const GZ = () => {
  return request('/guazi', 'get')
}
export const GZ1 = () => {
  return request('/guazi1', 'get')
}
export const RRC = () => {
  return request('/renrenche', 'get')
}
export const RRC1 = () => {
  return request('/renrenche1', 'get')
}
export const QCJ = () => {
  return request('/qichejie', 'get')
}
export const QCJ1 = () => {
  return request('/qichejie1', 'get')
}
// 根据日期获取懂车帝今日总数据
export const DCDtodayall = data => {
  return request('/dongchetodayall', 'post', qs.stringify(data))
}
// 根据日期获取懂车帝今日新增数据
export const DCDtodayadd = data => {
  return request('/dongchetodayadd', 'post', qs.stringify(data))
}
// 根据日期获取瓜子今日总数据
export const GuaZitodayall = data => {
  return request('/guazitodayall', 'post', qs.stringify(data))
}
// 根据日期获取瓜子今日新增数据
export const GuaZitodayadd = data => {
  return request('/guazitodayadd', 'post', qs.stringify(data))
}
// 根据日期获取汽车街今日总数据
export const QiChetodayall = data => {
  return request('/qichetodayall', 'post', qs.stringify(data))
}
// 根据日期获取汽车街今日新增数据
export const QiChetodayadd = data => {
  return request('/qichetodayadd', 'post', qs.stringify(data))
}
// 根据日期获取人人车今日总数据
export const RRtodayall = data => {
  return request('/renrentodayall', 'post', qs.stringify(data))
}
// 根据日期获取人人车今日新增数据
export const RRtodayadd = data => {
  return request('/renrentodayadd', 'post', qs.stringify(data))
}
